﻿
namespace Nop.Core.Domain.Shipping
{
    public static class ShipmentExtension
    {
        public static decimal GetTotalDim(this Shipment shipment)
        {
            return (shipment.Length ?? 0M) +
                (shipment.Width ?? 0M) +
                (shipment.Height ?? 0M);
        }
    }
}
